projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e22c5f
)
; Fix line number sorting
author
Dmitry Gutov
<dgutov@yandex.ru>
Fri, 4 Dec 2020 02:46:52 +0000
(
04:46
+0200)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Fri, 4 Dec 2020 02:46:52 +0000
(
04:46
+0200)
lisp/progmodes/xref.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/xref.el
b/lisp/progmodes/xref.el
index 2a478099f8dd33445671336cad05e063b4be5d4d..ccd5e1ae8b1f1a60e369294f0e41f74a5eb2641c 100644
(file)
--- a/
lisp/progmodes/xref.el
+++ b/
lisp/progmodes/xref.el
@@
-1279,7
+1279,7
@@
IGNORES is a list of glob patterns for files to ignore."
;; without the '| sort ...' part if GNU sort is not available on
;; your system and/or stable ordering is not important to you.
;; Note#2: '!*/' is there to filter out dirs (e.g. submodules).
- "xargs -0 rg <C> -nH --no-messages -g '!*/' -e <R> | sort -t: -k1
-k2n
"
+ "xargs -0 rg <C> -nH --no-messages -g '!*/' -e <R> | sort -t: -k1
,1 -k2n,2
"
))
"Associative list mapping program identifiers to command templates.